from random import randint


class Die:
    """创建一个骰子类"""
    def __init__(self):
        self.sides = 6

    def roll_die(self):
        self.sides = randint(1,6)
        print(self.sides)


die = Die()
for i in range(1,11):
    die.roll_die()